using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_admrole
	{
		private int? _id;
		private int? _orgid;
		private byte _orgtype;
		private string _rolname = String.Empty;
		private string _rolmodules = String.Empty;
		private string _rolgroup = String.Empty;
		private string _rolhotel = String.Empty;
		private string _rolcomment = String.Empty;
		private byte _roltype;
		
		public hfg_admrole()
		{
		}
		
		
        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _orgid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _orgtype = reader.GetByte(2);
        //        if (!reader.IsDBNull(3)) _rolname = reader.GetString(3);
        //        if (!reader.IsDBNull(4)) _rolmodules = reader.GetString(4);
        //        if (!reader.IsDBNull(5)) _rolgroup = reader.GetString(5);
        //        if (!reader.IsDBNull(6)) _rolhotel = reader.GetString(6);
        //        if (!reader.IsDBNull(7)) _rolcomment = reader.GetString(7);
        //        if (!reader.IsDBNull(8)) _roltype = reader.GetByte(8);
        //    }
        //}
		
		
		
		#region Public Properties
		public int? Id
		{
			get {return _id;}
			set {_id = value;}
		}
		
		public int? orgid
		{
			get {return _orgid;}
			set {_orgid = value;}
		}

		public byte orgtype
		{
			get {return _orgtype;}
			set {_orgtype = value;}
		}

		public string rolname
		{
			get {return _rolname;}
			set {_rolname = value;}
		}

		public string rolmodules
		{
			get {return _rolmodules;}
			set {_rolmodules = value;}
		}

		public string rolgroup
		{
			get {return _rolgroup;}
			set {_rolgroup = value;}
		}

		public string rolhotel
		{
			get {return _rolhotel;}
			set {_rolhotel = value;}
		}

		public string rolcomment
		{
			get {return _rolcomment;}
			set {_rolcomment = value;}
		}

		public byte roltype
		{
			get {return _roltype;}
			set {_roltype = value;}
		}
		#endregion
	}
}
